package com.skywolf.chem.usercenterapi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.skywolf.chem.usercenterapi.entity.SuggestInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 系统建议信息采集表 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2020-06-09
 */
@Mapper
public interface SuggestInfoMapper extends BaseMapper<SuggestInfo> {

    List<SuggestInfo> getSuggestPageList(@Param("uid") Long uid,@Param("startNum") Long startNum, @Param("endNum") Long endNum,
                                     @Param("status") Integer status, @Param("sugDesc")String sugDesc);

    Integer getSuggestPageCount(@Param("uid") Long uid,@Param("status") Integer status, @Param("sugDesc")String sugDesc);
}
